﻿namespace Common.Cryptography
{
    public class Srp6
    {
        public byte[] B = { 0xD7, 0xB9, 0x1A, 0x0B, 0x09, 0x39, 0x28, 0x45, 0x48, 0xAE, 0x31, 0x9A, 0x3B, 0x85, 0x7A, 0xF4,
                            0xFF, 0x79, 0x21, 0x58, 0xE6, 0x16, 0x5B, 0x35, 0x21, 0x4C, 0xCE, 0x4B, 0x86, 0xF8, 0x41, 0x60 };

        public byte[] N = { 0x89, 0x4B, 0x64, 0x5E, 0x89, 0xE1, 0x53, 0x5B, 0xBD, 0xAD, 0x5B, 0x8B, 0x29, 0x06, 0x50, 0x53,
                            0x08, 0x01, 0xB1, 0x8E, 0xBF, 0xBF, 0x5E, 0x8F, 0xAB, 0x3C, 0x82, 0x87, 0x2A, 0x3E, 0x9B, 0xB7 };

        public byte[] RandBytes = { 0x2A, 0xD5, 0x48, 0xCC, 0x9B, 0x9D, 0xA1, 0x99, 0xCC, 0x04, 0x7A, 0x60, 0x91, 0x15, 0x6C, 0x51 };

        public byte[] Salt = { 0xF4, 0x3C, 0xAA, 0x7B, 0x24, 0x39, 0x81, 0x44, 0xBF, 0xA5, 0xB5, 0x0C, 0x0E, 0x07, 0x8C, 0x41,
                               0x03, 0x04, 0x5B, 0x6E, 0x57, 0x5F, 0x37, 0x87, 0x31, 0x9F, 0xC4, 0xF8, 0x0D, 0x35, 0x94, 0x29 };

        public byte g { get { return 7; } }
    }
}
